import request from '@/utils/request'

// 查询防控信息
export function infoPageList(data) {
    return request({
      url: '/prevention/infoPageList',
      method: 'post',
      data
    })
}

// 新增防控信息
export function addInfo(data) {
  return request({
    url: '/prevention/addInfo',
    method: 'post',
    data
  })
}

// 新增防控信息
export function updateInfo(data) {
  return request({
    url: '/prevention/updateInfo',
    method: 'post',
    data
  })
}

export function scopePageList(data) {
  return request({
      url: "/scope/pageList" ,
      method: 'post',
      data
  })
}

export function deleteByPrimaryKey(data) {
  return request({
      url: "/prevention/deleteByPrimaryKey" ,
      method: 'post',
      data
  })
}
